package day9zy.cwxt;

public class CwTest {
    public static void main(String[] args) {
        Cat a = new Cat("小花","狸花猫",10);
        Dog b = new Dog("小白","中华田园犬",10);
        Yw c = new Yw("小蓝","虎皮",1);
        a.self();
        a.eat();
        a.sleep();
        a.pashu();
        b.self();
        b.eat();
        b.sleep();
        b.zls();
        c.self();
        c.eat();
        c.sleep();
        c.fly();
    }
}

